import requests

headers = {
    'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0'
}
res = requests.get('https://p3-pc-sign.douyinpic.com/tos-cn-i-0813c001/oIhBijvDi\
                   AALTQ6AIPABxZZ9qAIxPxK8TEE8v~tplv-dy-aweme-images-v2:3000:3000\
                   :q75.webp?biz_tag=aweme_images&from=327834062&s=PackSourceEnum\
                   _SEARCH&sc=image&se=false&x-expires=1730394000&x-signature=bkW\
                   A%2BkD%2FDipDNl7abnuOek%2BdCZ0%3D',headers=headers)

with open('oIhBijvDiAALTQ6AIPABxZZ9qAIxPxK8TEE8v~tplv-dy-aweme-images-v2_3000_3000_q75','wb') as f:
    f.write(res.content)
    